package utils;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2020-01-05 15:39
* @notify  通过类名获取Class
* @version 1.0
*/
public class ResolveType {

    public static Class<?> resolveType(String parameterType) {
        try {
            Class<?> clazz = Class.forName(parameterType);
            return clazz;
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        return null;
    }
}
